<!--
 * @Author: ૮₍ ˙О˙₎ა
 * @Date: 2023-07-14 11:04:15
-->
<template>
  <div>
    测试
    <button @click="getReq">测试</button>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import { reqLogin } from '@/api/user'
const info = ref({
  username: 'admin',
  password: '111111'
})
const getReq = async () => {
  const res = await reqLogin(info.value.username, info.value.password)
}
</script>

<script lang="ts">
export default {
  name: 'VTest'
}
</script>

<style lang="scss" scoped></style>
